+2004-10-08 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkuimanager.c (update_node): Also update smart separators
+ if the visibility of a menuitem with a submenu changes. (#153791,
+ Christian Persch)
+
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.h:
+2004-10-08 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkuimanager.c (update_node): Also update smart separators
+ if the visibility of a menuitem with a submenu changes. (#153791,
+ Christian Persch)
+
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.h:
+2004-10-08 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkuimanager.c (update_node): Also update smart separators
+ if the visibility of a menuitem with a submenu changes. (#153791,
+ Christian Persch)
+
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.h:
+2004-10-08 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkuimanager.c (update_node): Also update smart separators
+ if the visibility of a menuitem with a submenu changes. (#153791,
+ Christian Persch)
+
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.h:
gtk_menu_shell_append (GTK_MENU_SHELL (menu), filler);
gtk_menu_item_set_submenu (GTK_MENU_ITEM (info->proxy), menu);
gtk_menu_shell_insert (GTK_MENU_SHELL (menushell), info->proxy, pos);
+ g_signal_connect (info->proxy, "notify::visible",
+ G_CALLBACK (update_smart_separators), 0);
}
}
else
{
if (info->type == NODE_TYPE_MENU)
update_smart_separators (gtk_menu_item_get_submenu (GTK_MENU_ITEM (info->proxy)));
- else if (info->type == NODE_TYPE_TOOLBAR)
+ else if (info->type == NODE_TYPE_TOOLBAR || info->type == NODE_TYPE_POPUP)
update_smart_separators (info->proxy);
}